{include file="public/header" /}
<style>
    table.imagetable {
        font-family: verdana,arial,sans-serif;
        font-size:20px;
        color:#333333;
        border-width: 1px;
        border-color: #999999;
        border-collapse: collapse;
    }
    table.imagetable th {
        background:#b5cfd2;
        border-width: 1px;
        padding: 8px;
        border-style: solid;
        border-color: #999999;
        width: 180px;
    }
    table.imagetable td {
        background:#dcddc0;
        border-width: 1px;
        padding: 8px;
        border-style: solid;
        border-color: #999999;
    }
    .layui-form-item{
        margin-bottom: 5px
    }
    .layui-form-label{
        width: 172px;
    }
    .layui-input-block{
        margin-left: 180px
    }

</style>
<body class="gray-bg">
<div class="wrapper wrapper-content">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-title">
                    <h5>服务工单详情</h5>
                </div>
                <div class="ibox-content layui-form">
                    <div class="layui-row layui-col-space10 layui-form-item ">


                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <h2>基本信息</h2>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">工单编号：</label>
                            <div class="layui-input-block">
                                <input type="text" value="{$data.serve_number}" class="layui-input" disabled>
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">工单状态：</label>
                            <div class="layui-input-block">
                                {if $data.serve_status == 1}
                                <input type="text" value="待分配" class="layui-input" disabled>
                                {elseif $data.serve_status == 2}
                                <input type="text" value="待接单" class="layui-input" disabled>
                                {elseif $data.serve_status == 3}
                                <input type="text" value="已拒绝" class="layui-input" disabled>
                                {elseif $data.serve_status == 4}
                                <input type="text" value="已接单" class="layui-input" disabled>
                                {elseif $data.serve_status == 5}
                                <input type="text" value="待评价" class="layui-input" disabled>
                                {elseif $data.serve_status == 6}
                                <input type="text" value="待提点" class="layui-input" disabled>
                                {elseif $data.serve_status == 7}
                                <input type="text" value="已完成" class="layui-input" disabled>
                                {else /}
                                <input type="text" value="已撤销" class="layui-input" disabled>
                                {/if}
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">提交用户：</label>
                            <div class="layui-input-block">
                                <input type="text" value="{$data.user_real_name}" class="layui-input" disabled>
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">提交手机号：</label>
                            <div class="layui-input-block">
                                <input type="text" value="{$data.user_phone}" class="layui-input" disabled>
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">有无店铺：</label>
                            <div class="layui-input-block">
                                <input type="text" value="{$data.serve_have_store == 1 ? '有' : '无'}" class="layui-input" disabled>
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">详细地址：</label>
                            <div class="layui-input-block">
                                <input type="text" value="{$data.address}" class="layui-input" disabled>
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">联系人：</label>
                            <div class="layui-input-block">
                                <input type="text" value="{$data.serve_user_name}" class="layui-input" disabled>
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">联系方式：</label>
                            <div class="layui-input-block">
                                <input type="text" value="{$data.serve_user_phone}" class="layui-input" disabled>
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">活动/开店日期：</label>
                            <div class="layui-input-block">
                                <input type="text" value="{$data.serve_begin_date}" class="layui-input" disabled>
                            </div>
                        </div>

                        {if $data.serve_have_store == 1}
                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">活动方案：</label>
                            <div class="layui-input-block">
                                <textarea class="layui-textarea" disabled>{$data.serve_activity_intro}</textarea>
                            </div>
                        </div>
                        {/if}

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">提交时间：</label>
                            <div class="layui-input-block">
                                <input type="text" value="{$data.serve_commit_time}" class="layui-input" disabled>
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">分配时间：</label>
                            <div class="layui-input-block">
                                <input type="text" value="{$data.serve_fp_time}" class="layui-input" disabled>
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">接单时间：</label>
                            <div class="layui-input-block">
                                <input type="text" value="{$data.serve_accept_time}" class="layui-input" disabled>
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">服务完成时间：</label>
                            <div class="layui-input-block">
                                <input type="text" value="{$data.serve_done_time}" class="layui-input" disabled>
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">评价时间：</label>
                            <div class="layui-input-block">
                                <input type="text" value="{$data.serve_appraise_time}" class="layui-input" disabled>
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">提成时间：</label>
                            <div class="layui-input-block">
                                <input type="text" value="{$data.serve_over_time}" class="layui-input" disabled>
                            </div>
                        </div>

                        {if $data.serve_status == 8}
                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">撤销时间：</label>
                            <div class="layui-input-block">
                                <input type="text" value="{$data.serve_cancel_time}" class="layui-input" disabled>
                            </div>
                        </div>
                        {/if}



                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <h2>服务老师</h2>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">姓名：</label>
                            <div class="layui-input-block">
                                <input type="text" value="{$data.worker_name}" class="layui-input" disabled>
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">手机号：</label>
                            <div class="layui-input-block">
                                <input type="text" value="{$data.worker_phone}" class="layui-input" disabled>
                            </div>
                        </div>



                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <h2>评价信息</h2>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">销售总额：</label>
                            <div class="layui-input-block">
                                <input type="text" value="{$data.serve_total_price}" class="layui-input" disabled>
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">产品销售额：</label>
                            <div class="layui-input-block">
                                <input type="text" value="{$data.serve_produce_price}" class="layui-input" disabled>
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">技术销售额：</label>
                            <div class="layui-input-block">
                                <input type="text" value="{$data.serve_jishu_price}" class="layui-input" disabled>
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">套餐销售额：</label>
                            <div class="layui-input-block">
                                <input type="text" value="{$data.serve_taoc_price}" class="layui-input" disabled>
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">其它销售额：</label>
                            <div class="layui-input-block">
                                <input type="text" value="{$data.serve_other_price}" class="layui-input" disabled>
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">其它品牌销售额：</label>
                            <div class="layui-input-block">
                                <input type="text" value="{$data.serve_notc_price}" class="layui-input" disabled>
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">描述：</label>
                            <div class="layui-input-block">
                                <textarea class="layui-textarea" disabled>{$data.serve_appraise_intro}</textarea>
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md10">
                            <label class="layui-form-label">评价图片：</label>
                            <div class="layui-input-block">
                                {if count($data.serve_appraise_images) > 0}
                                <div class="layui-upload-list img-circle">
                                    {volist name='data.serve_appraise_images' id='vo'}
                                    <img class="layui-append-img" src="{$vo}">
                                    {/volist}
                                </div>
                                {/if}
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">星级：</label>
                            <div class="layui-input-block">
                                <table class="imagetable">
                                    <tr>
                                        <th>项目名称</th>
                                        <th>星级</th>
                                    </tr>
                                    {volist name='data.serve_star' id='vo1'}
                                    <tr>
                                        <td>{$vo1.name}</td>
                                        <td>{$vo1.value}</td>
                                    </tr>
                                    {/volist}
                                </table>
                            </div>
                        </div>



                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <h2>提点信息</h2>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">实际总金额：</label>
                            <div class="layui-input-block">
                                <input type="text" value="{$data.serve_real_total_price}" class="layui-input" disabled>
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">实际产品销售额：</label>
                            <div class="layui-input-block">
                                <input type="text" value="{$data.serve_real_produce_price}" class="layui-input" disabled>
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">实际技术销售额：</label>
                            <div class="layui-input-block">
                                <input type="text" value="{$data.serve_real_jishu_price}" class="layui-input" disabled>
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">实际套餐销售额：</label>
                            <div class="layui-input-block">
                                <input type="text" value="{$data.serve_real_taoc_price}" class="layui-input" disabled>
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">实际其它品牌销售额：</label>
                            <div class="layui-input-block">
                                <input type="text" value="{$data.serve_real_notc_price}" class="layui-input" disabled>
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">实际其它销售额：</label>
                            <div class="layui-input-block">
                                <input type="text" value="{$data.serve_real_other_price}" class="layui-input" disabled>
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">产品销售额提点比例：</label>
                            <div class="layui-input-block">
                                <input type="text" value="{$data.serve_produce_ratio}" class="layui-input" disabled>
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">技术销售额提点比例：</label>
                            <div class="layui-input-block">
                                <input type="text" value="{$data.serve_jishu_ratio}" class="layui-input" disabled>
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">套餐销售额提点比例：</label>
                            <div class="layui-input-block">
                                <input type="text" value="{$data.serve_taoc_ratio}" class="layui-input" disabled>
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">其它销售额提点比例：</label>
                            <div class="layui-input-block">
                                <input type="text" value="{$data.serve_other_ratio}" class="layui-input" disabled>
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">星级系数：</label>
                            <div class="layui-input-block">
                                <input type="text" value="{$data.serve_star_ratio}" class="layui-input" disabled>
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">提成金额：</label>
                            <div class="layui-input-block">
                                <input type="text" value="{$data.serve_td_price}" class="layui-input" disabled>
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">提成描述：</label>
                            <div class="layui-input-block">
                                <textarea class="layui-textarea" disabled>{$data.serve_remark}</textarea>
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">前端提点操作人：</label>
                            <div class="layui-input-block">
                                <input type="text" value="{$data.serve_tc_user_id}" class="layui-input" disabled>
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">前端提点操作人：</label>
                            <div class="layui-input-block">
                                <input type="text" value="{$data.serve_tc_admin_id}" class="layui-input" disabled>
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">

                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
{include file="public/footer" /}

</body>
</html>
